package com.net.xpay.partner.secutiry;

import com.net.common.enums.base.IntEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author  on 13/02/2018.
 * -2-->需要补全基础信息, -1 -->第三方登录需要绑定账号, 0 -->正常登陆 1-->第三方登陆已绑定账号
 */
@Getter
@AllArgsConstructor
public enum OperatorStatus implements IntEnum<OperatorStatus> {
    NEED_USER_INFO(-2, "需要补全基础信息"),
    OPEN_ID_NEED_BIND(-1, "第三方登录需要绑定账号"),
    NORMAL_LOGIN(0, "正常登陆"),
    OPEN_ID_NORMAL(1, "第三方登陆已绑定账号,已正常登陆");

    private int value;

    private String desc;

}
